package com.example.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * ClassName:SeatDTO
 * Package:com.example.dto
 * User:HP
 * Date:2025/8/26
 * Time:下午8:27
 * Author 周东汉
 * Version 1.0
 * Description:
 */

@Data
public class SeatAddDTO implements Serializable {


    /**
     * 座位编号
     */
    private String number;

    /**
     * 所属自习室ID
     */
    @NotNull(message = "所属自习室不能为空")
    private Long studyRoomId;

    /**
     * 0:无预约, 1:有空闲, 2:已约满, 3:维护中
     */
    private Integer seatStatus;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
